.translation-popup {
  position: fixed;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2147483647;
  max-width: 300px;
  min-width: 100px;
  min-height: 50px;
  display: none;
  pointer-events: auto;
}

.translation-popup .word {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.translation-popup .meaning {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.translation-popup .loading {
  color: #999;
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
}

.translate-icon {
  position: fixed;
  width: 24px;
  height: 24px;
  background: #4285f4;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  border: 2px solid white;
  user-select: none;
  pointer-events: auto;
}

.translate-icon:hover {
  background: #3367d6;
  transform: scale(1.1);
  transition: all 0.2s ease;
} 